import request from "@/utils/request";
// 接单管理的所有接口
export function list(query) {
  return request({
    url: "/material/template/list",
    method: "get",
    params: query
  });
}
export function add(data) {
  return request({
    url: "/material/template",
    method: "post",
    data: data
  });
}
export function put(data) {
  return request({
    url: "/material/template",
    method: "put",
    data: data
  });
}
export function del(ids) {
  return request({
    url: `/material/template/${ids}`,
    method: "delete"
  });
}
export function srh(id) {
    return request({
      url: '/material/template/'+id,
      method: "get"
    });
  }
